import request from '@/utils/request'

export function getServiceInfo() {
  return request({
    method: 'post',
    url: '/service/Serviceinfo/getServiceInfo'
  })
}
export function getServiceInfoPc() {
  return request({
    method: 'post',
    url: '/service/Serviceinfo/getServiceInfoPc'
  })
}

export function saveServiceInfo(data) {
  return request({
    url: '/service/Serviceinfo/saveServiceInfo',
    method: 'post',
    data: data
  })
}
export function saveCompanyProveData(data) {
  return request({
    url: '/service/Serviceinfo/saveCompanyProveData',
    method: 'post',
    data: data
  })
}

export function getServiceProveData() {
  return request({
    url: '/service/Serviceinfo/getServiceProveData',
    method: 'post'
  })
}

export function getServiceProveInfo() {
  return request({
    url: '/service/Serviceinfo/getServiceProveInfo',
    method: 'post'
  })
}

export function getServiceStatus() {
  return request({
    url: '/service/Serviceinfo/getServiceStatus',
    method: 'post'
  })
}

export function getServiceType() {
  return request({
    url: '/service/Serviceinfo/getServiceType',
    method: 'post'
  })
}

export function getServiceDynamicList() {
  return request({
    url: '/service/Dynamic/getServiceDynamicList',
    method: 'post'
  })
}
export function SearchServiceDynamic(keyword, status) {
  return request({
    url: '/service/Dynamic/getServiceDynamicList',
    method: 'post',
    data: {
      status,
      keyword
    }
  })
}
export function delServiceDynamic(dynamic_id) {
  return request({
    url: '/service/Dynamic/delServiceDynamic',
    method: 'post',
    data: {
      dynamic_id
    }
  })
}
export function updateUserLogo(user_logo) {
  return request({
    url: '/service/user/updateUserLogo',
    method: 'post',
    data: {
      user_logo
    }
  })
}
